import request from '@/request/request.js'; 

/**
 * @description  注册
 */ 
export function register(data){
	return request({
		url: '/api/auth/register',
		headers: {
			isToken: false,
		},
		method: 'post',
		data: data
	})
}

/**
 * @description  账号密码登录
 */ 
export function login(data){
	return request({
		url: '/api/auth/login',
		headers: {
			isToken: false,
		},
		method: 'post',
		data: data
	})
}

/**
 * @description  本机号码一键登录
 */ 
export function phoneNumberLogin(data){
	return request({
		url: '/api/auth/phoneNumberLogin',
		headers: {
			isToken: false,
		},
		method: 'post',
		data: data
	})
}
